CC=gcc
CFLAGS= -std=c99 -g -Wall
LIBS=

TARGETS = gethostbyname

.PHONY:all clean

all:$(TARGETS)

gethostbyname:gethostbyname.c
	$(CC) $(CFLAGS) $(LIBS) $^ -o $@

clean:
	@rm -rf $(TARGETS) 
